﻿using System;

namespace NP.BPMReportPlatform.RecurringJobs.Dto
{
    /// <summary>
    /// 同步用户Dto
    /// </summary>
    public class SyncUserDto
    {
        /// <summary>
        /// 人员id，请以此为key更新数据，立邦项目对应F1
        /// </summary>
        public string Id { get; set; }

        /// <summary>
        /// 员工姓名
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 域账号，当人员离职后该字段内容会变为工号（同sapemployeeid）
        /// </summary>
        public string LoginName { get; set; }

        /// <summary>
        /// 工号
        /// </summary>
        public string SAPEmployeeId { get; set; }

        /// <summary>
        /// 性别。1：男；2：女；可能为null
        /// </summary>
        public int? Sex { get; set; }

        /// <summary>
        /// 邮箱
        /// </summary>
        public string Email { get; set; }

        /// <summary>
        /// 组织id
        /// </summary>
        public string Org { get; set; }

        /// <summary>
        /// 组织名称
        /// </summary>
        public string OrgName { get; set; }

        /// <summary>
        /// 国籍
        /// </summary>
        public string Nationality { get; set; }

        /// <summary>
        /// 省
        /// </summary>
        public string Province { get; set; }

        /// <summary>
        /// 市
        /// </summary>
        public string CityName { get; set; }

        /// <summary>
        /// 员工在职状态。3：在职；0：离职
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 数据是否被删除。true：已被删除；false：未被删除
        /// </summary>
        public bool IsDelete { get; set; }

        /// <summary>
        /// Leavedate
        /// ResignationDate
        /// 离职日期
        /// </summary>
        public DateTime? Leavedate { get; set; }

        /// <summary>
        /// 组织名称全路径
        /// </summary>
        public string FullPathText { get; set; }

        /// <summary>
        /// 组织编码全路径
        /// </summary>
        public string FullPathCode { get; set; }
    }

}
